package org.yscz.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @program: pe
 * @description: 选项表
 * @author: muqs
 * @create: 2021-08-20 10:35
 **/
@Data
@ToString
@Accessors(chain = true)
@TableName(value = "t_option")
public class Option implements Serializable {

    /**
     * 选项ID
     */
    @TableId(value = "option_id", type = IdType.AUTO)
    private Long optionId;

    /**
     * 选项类别  A、B...
     */
    @TableField(value = "option_type")
    private String optionType;

    /**
     * 选项内容
     */
    @TableField(value = "option_content")
    private String optionContent;

    /**
     * 选项分值
     */
    @TableField(value = "option_score")
    private Integer optionScore;

    /**
     * 选项分值
     */
    @TableField(value = "question_id_fk")
    private Long questionIdFk;
}
